﻿using System;

namespace Entropy.Ext
{
    public class AstConstructor: AstExpression
    {
        public AstConstructorParameter[] Args;
        public string PronouncedName;
        public bool InsideEventHandler;

        public AstConstructor(Type type) : base(AstExpressionType.Constructor, type)
        {
        }
    }
    
    public class RootFactoryAccess: AstExpression
    {
        public RootFactoryAccess(AstExpressionType nodeType, Type type) : base(nodeType, type)
        {
        }
    }
}